﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;

[Serializable]
[XmlRoot("LevelInfo")]
public class LevelInfo
{
	public int ID;

	public int Row = 7;
	public int Col = 11;

	/// <summary>
	/// 关卡时间限制(s)
	/// </summary>
	public float TimeLimit = 120;

	public List<EnemyInfo> EnemyList = new List<EnemyInfo>();

	public List<PropInfo> PropList = new List<PropInfo>();

	public LevelInfo() { }

	public LevelInfo(int row, int col, float time) {
		Row = row;
		Col = col;
		TimeLimit = time;
	}
}

public enum AILevel {
	Easy,
	Normal,
	Hard
}